<?php
// +----------------------------------------------------------------------
// | OpenAdmin [ 基于ThinkPHP6和Vue3后台管理系统 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2022 OpenAdmin All rights reserved.
// +----------------------------------------------------------------------
// | Licensed (https://gitee.com/open_admin/OpenAdmin/blob/master/LICENSE)
// +----------------------------------------------------------------------
// | 作者: About 
// +----------------------------------------------------------------------
// | 修改时间:2022/8/7-13:13
// +----------------------------------------------------------------------
return [
    //系统类错误信息
    '200'   => '成功',
    '401'   => 'TOKEN未设置',
    '403'   => '没有操作权限',
    '404'   => '路由不存在',
    '500'   => '失败',

    //自定义类错误枚举
    '10001' => '编辑数据时异常',
    '10002' => '删除数据异常',
    '10003' => '密码不正确',
    '10004' => '账户不存在或已被禁用',
    '10005' => '登录凭证已过期请重新登录',
    '10006' => 'TOKEN服务未知异常',
    '10007' => '账户已在其他设备登录',
    '10008' => '登录超时',
    '10009' => '数据不存在或已被删除',
];